Average sentence length |
---|
21.4588 |
sentence length | percentage |
---|---|
3 | 0.0960 |
4 | 0.4150 |
5 | 0.8530 |
6 | 1.3970 |
7 | 2.0770 |
8 | 2.5820 |
9 | 2.9070 |
10 | 3.0140 |
11 | 3.8210 |
12 | 3.9280 |
13 | 3.6490 |
14 | 3.6350 |
15 | 3.7000 |
16 | 3.8390 |
17 | 3.7570 |
18 | 3.8220 |
19 | 3.6920 |
20 | 3.7280 |
21 | 3.6320 |
22 | 3.3360 |
23 | 3.3080 |
24 | 3.1210 |
25 | 2.9000 |
26 | 2.7930 |
27 | 2.6260 |
28 | 2.5150 |
29 | 2.3380 |
30 | 2.1940 |
31 | 1.9800 |
32 | 1.8710 |
33 | 1.6990 |
34 | 1.6250 |
35 | 1.3960 |
36 | 4.5170 |
37 | 1.2420 |
38 | 1.0650 |
39 | 0.9190 |
40 | 0.8820 |
41 | 0.7570 |
42 | 0.6500 |
43 | 0.4980 |
44 | 0.3780 |
45 | 0.2730 |
46 | 0.2250 |
47 | 0.1600 |
48 | 0.0870 |
49 | 0.0720 |
50 | 0.0290 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters